package com.woniuxy.carlife.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author fx
 * @ClassName:ServiceCategoryParam
 * @Description: 服务类别参数的VO类
 * @date 2021/4/7 16:11
 **/

@Data
@ApiModel(value = "服务类别参数的param")
public class ServiceCategoryParam {

    //类别名称
    @NotNull(message="类别名称不能为空")
    @ApiModelProperty(value = "类别名称")
    private String serviceCategoryName;

    //类别等级
    @NotNull(message="类别等级不能为空")
    @ApiModelProperty(value = "类别等级")
    private Integer serviceCategoryLevel;

    //对应的上级类别id
    @NotNull(message="对应的上级类别id不能为空")
    @ApiModelProperty(value = "对应的上级类别id")
    private Integer serviceCategorySuperior;

    //类别状态(未使用/使用中)
    @ApiModelProperty(value = "类别状态(未使用/使用中)")
    private Boolean categoryStatus;
}
